package com.ocom.webapi.vo.unitaccount;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class OnShowVo implements Serializable {
    private static final long serialVersionUID = -344552825222583413L;
    //单位编号

    @JsonProperty("comId")
    private Long comId;


    //部门id
    @JsonProperty("deptId")
    private Long deptId;

    @JsonProperty("accountType")
    private String accountType;

    @JsonProperty("agentId")
    private String agentId;

    private Integer status;
    private String account;

    //页码
    @NotNull( message = "page 不能为空")
    @JsonProperty("page")
    private Integer page;

    //每页数量
    @NotNull( message = "size 不能为空")
    @JsonProperty("size")
    private Integer size;

}
